package com.community.zhihuishequ.db;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

import java.util.Date;

@Table(database = AppDatabase.class)
public class HouseData extends BaseModel {

    @PrimaryKey(autoincrement = true)
    @Column
    public long id;

    /**
     * 业主
     */
    @Column
    public String owner;

    /**
     * 性别
     */
    @Column
    public String sex;

    /**
     * 出生年月
     */
    @Column
    public Date birthday;

    /**
     * 联系电话
     */
    @Column
    public String phone;

    /**
     * 婚姻状况
     */
    @Column
    public String marriage;

    /**
     * 生育状况
     */
    @Column
    public String maternity;

    /**
     * 身份证号
     */
    @Column
    public String idCard;

    /**
     * 居住单元
     */
    @Column
    public String unit;

    /**
     * 入住时间
     */
    @Column
    public String checkInTime;

    /**
     * 居住面积
     */
    @Column
    public String livingSpace;

    /**
     * 户型
     */
    @Column
    public String houseType;

    /**
     * 同居人数
     */
    @Column
    public String cohabitationNum;

    /**
     * 创建时间
     */
    @Column
    public String createTime;
}
